source /usr/local/Ascend/ascend-toolkit/set_env.sh
source /usr/local/Ascend/mindie/set_env.sh
export LANG=C.utf8
unset ASCEND_VISIBLE_DEVICES
export OMP_NUM_THREADS=1
source /root/miniconda3/etc/profile.d/conda.sh
conda activate czw_sdxl_inpainting_mindie_python31013_630_gitee
python eraser_outpaint_controlnet_npu.py \
    --savedir results/328test \
    --no-enhance \
    --infer-steps 50 \
    --sampler ddim \
    --control-type masked  \
    --control-weight 1.0 \
    --dit-weight /root/work/filestorage/liuxin/weight/328weight/ditbase/mp_rank_00_model_states.pt \
    --controlnet-weight /root/work/filestorage/qkd/HunyuanDIT-PRE-main/weight/001-inpaint_outpaint/checkpoints/0002000.pt/mp_rank_00_model_states.pt \
    --load-key module \
    --size-cond 1024 1024 \
    --use-style-cond &